package io.renren.modules.project.dao;

import io.renren.modules.project.entity.ConferenceAccessoryEntity;
import io.renren.modules.project.entity.ConferenceStaffEntity;
import io.renren.modules.project.entity.ConferenceSummaryEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-05 18:16:20
 */
@Mapper
public interface ConferenceSummaryDao extends BaseDao<ConferenceSummaryEntity> {
    //根据项目id查询会议纪要
    List<ConferenceSummaryEntity> queryProjectIdList(String projectId);

    //根据项目id查询会议纪要分页统计
    int queryProjectIdListTotal(String projectId);

    void saveConferenceStaff(List<ConferenceStaffEntity> conferenceStaffList);

    String queryDetailsMeetingTime(String id);

    List<String> queryConferenceSummaryDao(String id);

    List<ConferenceAccessoryEntity> queryConferenceMesgAccessory(String id);

    List<ConferenceAccessoryEntity> queryConferenceAccessory(String id);

    //根据userid查询该用户需要参加的会议
    List<ConferenceSummaryEntity> mainQueryConferenceSummary(String userId);

}
